
export const PAGE_SZIE = 20

export const API_URL = "http://localhost:8085/SafeServer/"
// export const file_prefix = "https://localhost/safe_file/"

// export const API_URL = "http://121.37.160.204:8080/SafeServer/"
// export const API_URL = "http://121.37.160.204:8080/SafeServerTest/"

// export const API_URL = "https://wallu.cn/SafeServer/"

export const file_prefix = "https://106.15.95.233/safe_file/"

export const carryName = 'test'

export const getCurrUser = () => {
  const userStr = sessionStorage.getItem('user');
  if (userStr) {
    const user = JSON.parse(userStr);
    return user
  }
  return null
}